package cn.tedu.eb_film.mapper;

import cn.tedu.eb_film.pojo.dto.CsChangeRegulationUpdateDto;
import cn.tedu.eb_film.pojo.entity.CsChangeRegulation;
import cn.tedu.eb_film.pojo.vo.CsChangeRegulationVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CsChangeRegulationMapper {
    void AddNewChangeRegulation(CsChangeRegulation csChangeRegulation);

    void AddNewChangeRegulationList(List<CsChangeRegulation> list);

    void deleteChangeRegulationById(Long id);

    void deleteChangeRegulationByIds(List<Long> list);

    void countChangeRegulation();

    CsChangeRegulationVo getChangeRegulationById(Integer id);

    List<CsChangeRegulationVo> getChangeRegulationList();

    void updateChangeRegulation(CsChangeRegulationUpdateDto csChangeRegulationUpdateDto);

    List<CsChangeRegulationVo> search(String connect);

    Integer update(CsChangeRegulationUpdateDto csChangeRegulationUpdateDto);
}
